package org.chen.bas.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BasQuery {
    private Integer currentPage;
    private Integer pageSize;
    private String keyword;
    public int getStart(){
        return (currentPage-1)*pageSize;
    }
}
